
package com.zhitan.ems.app.iot.wrapper;
import com.zhitan.ems.app.iot.entity.DeviceTypeEntity;
import com.zhitan.ems.app.iot.vo.DeviceTypeVO;
import com.zhitan.ems.common.extra.utils.BeanUtil;
import com.zhitan.ems.framework.core.mp.base.BaseEntityWrapper;
  /**
 * 设备类型 包装类,返回视图层所需的字段
 * @author zhitan
 * 
 * @date 2025-09-19 22:15:46
 */
public class DeviceTypeWrapper extends BaseEntityWrapper<DeviceTypeEntity, DeviceTypeVO>  {
    public static DeviceTypeWrapper build() {
        return new DeviceTypeWrapper();
    }
	@Override
	public DeviceTypeVO entityVO(DeviceTypeEntity deviceType) {
		if(deviceType==null) {
			return null;
		}
		DeviceTypeVO deviceTypeVO = BeanUtil.copy(deviceType, DeviceTypeVO.class);
		return deviceTypeVO;
	}

}
